package com.catchdays;

import com.actionbarsherlock.app.SherlockActivity;
import com.googlecode.androidannotations.annotations.AfterViews;
import com.googlecode.androidannotations.annotations.EActivity;
import com.googlecode.androidannotations.annotations.OptionsItem;

@EActivity(R.layout.activity_preferences)
public class PreferencesActivity extends SherlockActivity {
	@AfterViews
	public void init() {
		getSupportActionBar().setDisplayHomeAsUpEnabled(true);
		getSupportActionBar().setTitle(R.string.menu_preferences);
	}

	@OptionsItem
	public void homeSelected() {
		finish();
	}

	@Override
	public void onBackPressed() {
		finish();
	}
}
